package org.mmtk.utility.options;

public final class ImpulseDelay extends org.vmutil.options.IntOption {

  /**
   * Create the option.
   */
  public ImpulseDelay() {
    super(Options.set, "ImpulseDelay",
          "No. of GCs to wait before applying an impulse",
          2);
  }

  /**
   * Only accept non-negative values
   */
  protected void validate() {
    failIf(this.value < 0.0, "Must be non-negative");
  }
}
